|
![](/i/fill.gif) |
If I may be permitted to withold the source (since I'm not sure yet how
robust the whole atmosphere technique is) and give a brief general
description instead.
The sun is a distant light_source.
The terrain is a regular height_field.
The atmosphere is composed of (simplified):
sphere{
-y*earth_radius, earth_radius+atmosphere_height hollow
pigment{clear}
interior{
media{scattering{1 rgb sky_blue}}
media{absorption rgb <1,1,1>-reddening_color}}
}
translate <camera_position>
}
The sun glow is achieved by looking down a long scattering media filled
cylinder which is pointed at the sun.
The clouds are based on the technique described at
http://www2.taconic.net/bullfrog/sky/lightsourced_clouds/simple_bumpshaded_clouds.html
(please forgive the incompleteness of the site at this time).
Hope this helps.
Abe
Gail Shaw wrote:
> WOW!!!!!!!!!! source please?
>
> Gail
> --
> #macro G(H,S)disc{0z.4pigment{onion color_map{[0rgb<sin(H/pi)cos(S/pi)*(H<6)
> cos(S/pi)*(H>6)>*18][.4rgb 0]}}translate<H-5S-3,9>}#end G(3,5)G(2,5.5)G(1,5)
> G(.6,4)G(.5,3)G(.6,2)G(1,1)G(2,.5)G(3,.7)G(3.2,1.6)G(3.1,2.5)G(2.2,2.5)G(9,5
> )G(8,5.5)G(7,5)G(7,4)G(7.7,3.3)G(8.3,2.7)G(9,2)G(9,1)G(8,.5)G(7,1)///GS
Post a reply to this message
|
![](/i/fill.gif) |